﻿<UserControl x:Class="WpfImageViewer.WpfImageViewerControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="300" Width="300">
    <ScrollViewer HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
        <Image Source="{Binding}" Width="Auto" Height="Auto" HorizontalAlignment="Center" VerticalAlignment="Center" Stretch="Uniform">
            
        </Image>
        <!--
        <Canvas Width="Auto" Height="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">            
        </Canvas>
        -->
    </ScrollViewer>        
</UserControl>
